<?php

namespace App\Repository\Repositories;

use App\Models\StoreProduct;
use App\Repository\RepositoryInterface\LotteryInterface;

class LotteryRepositories implements LotteryInterface
{
    /**
     * @return mixed
     * 查询参与抽奖商品
     */
    public function lotteryGoods()
    {
        $lottery_data = StoreProduct::where('is_lottery' , 1)->get();
        return $lottery_data;
    }
}
